package com.liangsong.designpattern.command;

public class CookC extends AbstractCommand{

    private final Chef chef;
    public CookC(Chef chef){
        this.chef = chef;
    }
    @Override
    public void cookCommand() {
        chef.cook();
    }
}
